/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;
import javax.servlet.http.HttpServletRequest;

/**
 *
 * @author Teban Ocampo
 */

public class GenerarHTMLLogin extends GenerarHTMLGeneral {
    public GenerarHTMLLogin(){
        
    }
    
    public String generarHTMLMain_content(HttpServletRequest request,String a){
        String visibility=a;
        String html="";
        html+="<div id=\"main_content\">\n"; 
        html+=  "<div class=\"admin_login\">\n";
        html+=      "<div class=\"left_box\">\n";
        html+=          "<div class=\"top_left_box\"></div>\n";
        html+=          "<div class=\"center_left_box\">\n";
        html+=              "<div class=\"box_title\"><span>Admin</span> Login</div>\n";
        html+=                  "<div class=\"form\">\n";
        html+=                      "<form name=\"login\" action= \"LoginCheck.jsp\">\n";                 
        html+=                          "<div class=\"form_row\"><label class=\"left\">Username: </label><input name=\"user\" type=\"text\" class=\"form_input\"/></div> \n";
        html+=                          "<div class=\"form_row\"><label class=\"left\">Password: </label><input name=\"pass\" type=\"password\" class=\"form_input\"/></div>\n";
        html+=                          "<div style=\"float:right; padding:10px 25px 0 0\">\n";
        html+=                              "<input type=\"submit\" name=\"image\" src=\"images/login.gif\"/>\n";
        html+=                          "</div>\n";
        html+=                  "</div>\n";
        html+=              "</div>\n";
        html+=              "<div class=\"bottom_left_box\">\n";
        html+=          "</div>\n";
        html+=      "</div> \n";
        html+=              "<div class=\"login_help\" style=\"visibility:"+visibility+"\">\n";
        html+=                  "<span><p>Error:Datos Inválidos<br />";
        html+=                  "<a href=\"#\" style=\"text-decoration:none\">¿Has olvidado tu contraseña?</a></p></span>";
        html+=              "</div>\n";
        html+=  "</div>\n";
        html+="</div>\n";
        
        return html;
    }    
}

